import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-agent-sidebar',
  templateUrl: './agent-sidebar.component.html',
  styleUrls: ['./agent-sidebar.component.scss']
})
export class AgentSidebarComponent implements OnInit {
  items: any[];
  constructor() { }

  ngOnInit() {
    this.items = [{
      label: 'File',
      items: [
        { label: 'New', icon: 'ui-icon-add' },
        { label: 'Open', icon: 'ui-icon-open-in-browser' }
      ]
    },
    {
      label: 'Edit',
      items: [
        { label: 'Undo', icon: 'ui-icon-undo' },
        { label: 'Redo', icon: 'ui-icon-redo' }
      ]
    }];
  }

}
